<%@ page session="false" contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@include file="inc/head.inc"%>

<body>
<f:view>
	<t:dataTable styleClass="standardTable2" var="result"
		value="#{dataFirstPage.firstPageList}">
		<t:column>
			<t:dataTable styleClass="standardTable2"
				headerClass="standardTable_Header3"
				footerClass="standardTable_Header"
				rowClasses="standardTable_Row1,standardTable_Row2"
				columnClasses="standardTable_ColumnCentered, standardTable_Column, standardTable_ColumnCentered, standardTable_ColumnCentered"
				var="tematy" value="#{result.themaList}">
				<f:facet name="header">
					<h:panelGrid styleClass="standardTable_Header2">
					<h:outputText value="#{result.mainThema}" styleClass="standard_bold2"/>
					</h:panelGrid>
				</f:facet>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Temat" />
					</f:facet>
					<h:outputText value="#{tematy.thema}" />
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Ostatni post" />
					</f:facet>
					<h:panelGrid columns="1">
						<h:outputText value="#{tematy.lastTopic}"
							styleClass="standard_bold" />
						<h:outputText value="#{tematy.time}" styleClass="standard2" />
						<h:outputText value="#{tematy.author}" styleClass="standard_bold3" />
					</h:panelGrid>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Tematy" />
					</f:facet>
					<h:outputText value="41" styleClass="standard_bold3"/>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Posty" />
					</f:facet>
					<h:outputText value="271" styleClass="standard_bold3"/>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Moderator" />
					</f:facet>
					<h:outputText value="#{tematy.moderator}"
						styleClass="standard_bold3" />
				</h:column>
			</t:dataTable>
		</t:column>
	</t:dataTable>
</f:view>
</body>


